<div class="panel-body">
    <div class="table-responsive">
        <table class="table table-striped">
            <thead>
            <tr>
                <th>名称</th>
                <th></th>
            </tr>
            </thead>
            <#if dataList??>
                <#list dataList as data>
                    <tr>
                        <td>${data.name!}</td>
                        <td>
                            <a href="${FILE_PATH}${data.fileUrl}" target="_blank">下载</a>
                            <a href="javascript:void(0)" onclick="deleteFile(${data.id})">删除</a>
                        </td>
                    </tr>
                </#list>
            </#if>
        </table>
        <div>添加资料</div>
        <table class="table table-striped">
            <tr>
                <th>名称</th>
                <th></th>
                <th></th>
            </tr>
            <tr>
                <td>
                    <input type="text" class="form-control" id="name" name="name" placeholder="名称"/>

                </td>
                <td>
                    <input type="file" width="50%" class="form-control" name="filePath" id="filePath"/>
                </td>
                <td>
                    <input type="button"  id="uploadButton" class="btn btn-danger"
                           onclick="uploadContractFile(${contractInfo.id})" value="添加"/>
                </td>
            </tr>
        </table>
    </div>
    <input type="hidden" name="contractId" id="contractId" value="${(contractInfo.id)!}"/>
</div>